package com.rock.upms.svc.dao.model.mapper;

import com.rock.upms.model.UpmsPerson;
import com.rock.upms.model.UpmsPersonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpmsPersonMapper {
    long countByExample(UpmsPersonExample example);

    int deleteByExample(UpmsPersonExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UpmsPerson record);

    int insertSelective(UpmsPerson record);

    List<UpmsPerson> selectByExample(UpmsPersonExample example);

    UpmsPerson selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UpmsPerson record, @Param("example") UpmsPersonExample example);

    int updateByExample(@Param("record") UpmsPerson record, @Param("example") UpmsPersonExample example);

    int updateByPrimaryKeySelective(UpmsPerson record);

    int updateByPrimaryKey(UpmsPerson record);
}